package com.service.Impl;
import java.util.List;
import com.dao.TbErrorMapper;
import com.entity.TbError;
import com.service.TbErrorService;
public class TbErrorServiceImpl implements TbErrorService{
    private TbErrorMapper tbErrorMapper;
    @Override
    public long getTbErrorRowCount(){
        return tbErrorMapper.getTbErrorRowCount();
    }
    @Override
    public List<TbError> selectTbError(){
        return tbErrorMapper.selectTbError();
    }
    @Override
    public TbError selectTbErrorByObj(TbError obj){
        return tbErrorMapper.selectTbErrorByObj(obj);
    }
    @Override
    public TbError selectTbErrorById(Integer id){
        return tbErrorMapper.selectTbErrorById(id);
    }
    @Override
    public int insertTbError(TbError value){
        return tbErrorMapper.insertTbError(value);
    }
    @Override
    public int insertNonEmptyTbError(TbError value){
        return tbErrorMapper.insertNonEmptyTbError(value);
    }
    @Override
    public int insertTbErrorByBatch(List<TbError> value){
        return tbErrorMapper.insertTbErrorByBatch(value);
    }
    @Override
    public int deleteTbErrorById(Integer id){
        return tbErrorMapper.deleteTbErrorById(id);
    }
    @Override
    public int updateTbErrorById(TbError enti){
        return tbErrorMapper.updateTbErrorById(enti);
    }
    @Override
    public int updateNonEmptyTbErrorById(TbError enti){
        return tbErrorMapper.updateNonEmptyTbErrorById(enti);
    }

    public TbErrorMapper getTbErrorMapper() {
        return this.tbErrorMapper;
    }

    public void setTbErrorMapper(TbErrorMapper tbErrorMapper) {
        this.tbErrorMapper = tbErrorMapper;
    }

}